//
//  TableViewTwoCell.m
//  zctx
//
//  Created by apple on 15/11/25.
//  Copyright © 2015年 sanliang. All rights reserved.
//

#import "TableViewTwoCell.h"

@implementation TableViewTwoCell

- (void)awakeFromNib {
    // Initialization code
    self.titleLable.textColor = [UIColor colorWithHexString:@"#525252"];
}
+(instancetype)tableViewTwoCellWithTableView:(UITableView *)tableView andIndexPath:(NSIndexPath *)indexPath{
    
    static NSString *cellIndentifier = @"metwo";
    TableViewTwoCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIndentifier];
    if (cell == nil) {
        cell = [[TableViewTwoCell alloc]initWithStyle:
                UITableViewCellStyleDefault reuseIdentifier:cellIndentifier];
    }
    NSArray *titleArray = [NSArray arrayWithObjects:@"关注的项目",@"收藏的文章",@"众测攻略",@"推荐给朋友",@"反馈意见",@"设置", nil];
    NSArray *imageArray = [NSArray arrayWithObjects:@"me_one",@"me_two",@"me_three",@"me_three_two",@"me_free",@"me_five", nil];
    cell.titleLable.text = titleArray[indexPath.row];
    cell.iconImage.image = [UIImage imageNamed:imageArray[indexPath.row]];
    return cell;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
